<?php


namespace app\controller\admin;


use app\model\goods\OrderModel;
use app\model\partner\EscortMenuReserveOrderModel;

class OrderController extends BaseAdminController
{

    function setModel()
    {
        return new OrderModel();
    }

    function setWithModel()
    {
        return ['user'];
    }

    function setSearch()
    {
        return [
            '=' => ['order_status', 'order_type', 'mobile'],
            'like' => ['order_sn'],
            'betweenTimestamp' => ['create_time']
        ];
    }

    function setSort()
    {
        // TODO: Implement setSort() method.
    }
}